package com.yangye.cloud.mybatis;

import com.yangye.cloud.mybatis.interceptor.MybatisPrepareInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yangye
 * @date 2020/10/30
 */
@Configuration
public class MybatisAutoConfiguration {

	@Bean
	public MybatisPrepareInterceptor mybatisPrepareInterceptor() {
		return new MybatisPrepareInterceptor();
	}
}